const api = {
  Login: '/pub/login',
  CodeLogin: '/pub/loginByPhoneAndSmsCode',
  GetInfo: '/loginUser/info',
  UpdatePhone: '/loginUser/updatePhone',
  UpdatePassword: '/loginUser/loginPassword/update',
  Logout: '',
  ForgePassword: '/auth/forge-password',
  Register: '/auth/register',
  twoStepCode: '/auth/2step-code',
  SendSms: '/account/sms',
  SendSmsErr: '/account/sms_err',
  // sms
  CheckVerifyCode: '/public/sms/checkVerifyCode',
  SendVerifyCode: '/public/sms/sendVerifyCode',
  SendVerifyCodeWithAuth: '/sms/sendVerifyCode',
  // Enterprise
  EnterpriseList: '/agent/enterprise/list',
  Enterprise: '/agent/enterprise',
  EnterpriseDetail: '/agent/enterprise/',
  EnterpriseFreeze: '/agent/enterprise/freeze/', // + {enterpriseId}
  EnterpriseOptions: '/agent/enterprise/option',
  EnterpriseResetPassword: '/agent/enterprise/resetLoginPassword/', // {enterpriseId}
  // User
  User: '/individual/',
  UserList: '/individual/query',
  UserSignInfo: '/signInfo',
  UserSignStatusUpdate: '/individual/resetSign/',
  // Project
  ProjectList: '/project',
  // ProjectMembers: `/project/${projectId}/members`,
  CategoryDelete: '/project/category/', // + {categoryId}
  CategoryChild: '/project/category/', // + {parentId}
  CategoryCreate: '/project/category/create',
  CategoryUpdate: '/project/category/update',
  // Financial
  BillList: '/settle/orders',
  SettlementList: '/settle/exceptionOrders',
  PaymentList: '/settle/batch',
  BatchOrderList: '/settle',
  UpdateBatchOrOrderStatus: '/settle/updateStatus',
  // Upload
  UploadImage: '/file/uploadImage', // 上传一般图片 公开图片
  // ProjectSkill
  SkillCreate: '/skill',
  SkillList: '/skill/list/',
  SkillDelete: '/skill/',
  // Banner
  BannerList: '/config/banner/list',
  BannerDelete: '/config/banner/delete/',
  BannerUpdate: '/config/banner/update',
  BannerAdd: '/config/banner',
  BannerInfo: '/config/banner/info/'
}
export default api
